package com.baofengtv.wake.greendao.entry;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by chenzhenxin on 2017/10/17.
 */
@Entity
public class Daily {
    @Id(autoincrement = true)
    private Long id;
    @Property
    private String date;//日期
    private int isHoliday;//该日期是否为假日
    private int isNeedOpen;//是否需要执行  1为y，0为n
    private int isOpened;//是否已经执行
    private int isBrithday;//是否为某人生日
    private String longevity;//寿星
    private String remarks;//备注
    @Generated(hash = 1404311699)
    public Daily(Long id, String date, int isHoliday, int isNeedOpen, int isOpened,
            int isBrithday, String longevity, String remarks) {
        this.id = id;
        this.date = date;
        this.isHoliday = isHoliday;
        this.isNeedOpen = isNeedOpen;
        this.isOpened = isOpened;
        this.isBrithday = isBrithday;
        this.longevity = longevity;
        this.remarks = remarks;
    }
    @Generated(hash = 2135515054)
    public Daily() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public int getIsHoliday() {
        return this.isHoliday;
    }
    public void setIsHoliday(int isHoliday) {
        this.isHoliday = isHoliday;
    }
    public int getIsNeedOpen() {
        return this.isNeedOpen;
    }
    public void setIsNeedOpen(int isNeedOpen) {
        this.isNeedOpen = isNeedOpen;
    }
    public int getIsOpened() {
        return this.isOpened;
    }
    public void setIsOpened(int isOpened) {
        this.isOpened = isOpened;
    }
    public int getIsBrithday() {
        return this.isBrithday;
    }
    public void setIsBrithday(int isBrithday) {
        this.isBrithday = isBrithday;
    }
    public String getLongevity() {
        return this.longevity;
    }
    public void setLongevity(String longevity) {
        this.longevity = longevity;
    }
    public String getRemarks() {
        return this.remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
